package com.ogawa.joypal.user.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.alibaba.android.arouter.launcher.ARouter
import com.ogawa.joypal.user.R
import com.ogawa.projectcommon.constants.UrlPathConstant
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        loginBt.setOnClickListener {
            ARouter.getInstance().build(UrlPathConstant.ACTIVITY_USER_LOGIN).navigation()
        }
        userInfoBt.setOnClickListener {
            ARouter.getInstance().build(UrlPathConstant.ACTIVITY_USER_INFO).navigation()
        }

    }
}